-- GENERATED SPELL FOR [Pathstrider] --


function spell0_8565(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(16498,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8565', 2000, 1)
end

function Sorts_8565(pUnit, Event)
local choix_sorts_8565 = math.random(0, 0)
if choix_sorts_8565 == 0 then
pUnit:RegisterEvent('spell0_8565', 1, 1)
end
end

function mob8565_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8565', math.random(1500, 3000), 1)
end

function mob8565_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8565_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8565_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8565, 1, 'mob8565_Action')
RegisterUnitEvent(8565, 2, 'mob8565_Leave')
RegisterUnitEvent(8565, 3, 'mob8565_Kill')
RegisterUnitEvent(8565, 4, 'mob8565_Die')
